Skip to content

Conversation

@dmarcos
Copy link
Member

@dmarcos dmarcos commented May 10, 2018

We moved the tock call to the THREE onAfterRender callback breaking spectator camera. the tock methods are now invoked between the render call and vrDisplay.submitFrame. The spectator camera has to render on the 2D view after the frame submission. This patch wraps the render method of the renderer to ensure the correct order in case a spectator camera is present.

@dmarcos dmarcos changed the title Wrap render method in case of spectator camera to render spectator view before vrDisplay.submitFrame (fix #3541) Wrap render method in case of spectator camera to render spectator view after vrDisplay.submitFrame (fix #3541) May 10, 2018
@ngokevin ngokevin merged commit 5f9418f into aframevr:master May 10, 2018
@donmccurdy donmccurdy added this to the 0.9.0 milestone Aug 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants